[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 POKEB IEXP1,IEXP2

 Function
  Write a byte (0-255) to a specified memory address (POKE is a synonym).

 Syntax
  POKEB addr,value

   addr   - An integer expression with the address to write to.
   value  - An integer expression with the value to write to addr.

 Remarks
  You may have need to write directly to memory from time to time.  This
  statement complements PEEKB() and allows you to write a byte value
  (0-255) to a specific memory location.

 Examples
  BOOLEAN flag
  INTEGER addr
  VARADDR flag,addr
  POKEB addr,TRUE ' Set the flag to TRUE the hard way

See Also: MKADDR() PEEKB() PEEKDW() PEEKW() POKEDW POKEW VARADDR VAROFF VARSEG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson